package main

import (
	"fmt"
	"hash/crc32"
)

func hashcode(s string) uint32 {
	return crc32.ChecksumIEEE([]byte(s))
}

func main() {
	str := "123456abcd"

	for i := 0; i < 3; i++ {
		hc := hashcode(str)
		fmt.Println("hashcode:", hc)
	}
	println(hashcode("重地"))
	println(hashcode("通话"))
}
